import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';
import React from 'react';
import { Switch } from 'antd';
import './index.css';
export default (function(props) {
  return /*#__PURE__*/ React.createElement(
    'div',
    {
      className: 'switch-root',
    },
    /*#__PURE__*/ React.createElement(
      Switch,
      _objectSpread({}, props),
      props.children,
    ),
  );
});
